<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common.jsp"%>
<div class="pageContent">
	<form action="${ctxPath }/task/taskJob/edit" cssClass="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone);" method="post" >
        <input type="hidden" name="navTabId" value="rwgl">
        <input type="hidden" name="callbackType" value="closeCurrent">
        <input type="hidden" name="forwardUrl" value="">
        <input type="hidden" name="id" value="${entity.id }">
        <div class="tabsContent pageFormContent"  layoutH="56">
			<div>
				<fieldset>
					<legend>任务信息</legend>
					<dl>
						<dt>任务名称：</dt>
						<dd>
							<input type="text" name="jobName" class="required"  maxlength="10" size="25" value="${entity.jobName }"/>
						</dd>
					</dl>
					<dl>
						<dt>任务分组：</dt>
						<dd>
							<input type="text" name="jobGroup" class="required" maxlength="10" size="25" value="${entity.jobGroup }" />
						</dd>
					</dl>
                    <dl>
						<dt>cron表达式：</dt>
						<dd>
							<input type="text" name="cron" class="required"  size="25" maxlength="100" value="${entity.cron }"/>
						</dd>
					</dl>
					<dl>
						<dt>SpringBeanID：</dt>
						<dd>
							${entity.beanId }
						</dd>
					</dl>
					<dl>
						<dt>SpringBeanClass：</dt>
						<dd>
							${entity.beanClass }
						</dd>
					</dl>
					<dl>
						<dt>调用的方法：</dt>
						<dd>
							${entity.methodName }
						</dd>
					</dl>
					<dl>
						<dt>启动状态：</dt>
						<dd>
							<select class="combox" name="jobStatus" id="combox_jobStatus" disabled="disabled">
								<option value="1" <c:if test="${entity.jobStatus==1 }">selected="selected"</c:if>>启动</option>
								<option value="0" <c:if test="${entity.jobStatus==0 }">selected="selected"</c:if>>不启动</option>
							</select>
						</dd>
					</dl>
					<dl>
						<dt>是否支持并发：</dt>
						<dd>
							<select class="combox" name="isConcurrent" id="combox_isConcurrent"  disabled="disabled">
								<option value="1" <c:if test="${entity.isConcurrent==1 }">selected="selected"</c:if>>并发</option>
								<option value="0" <c:if test="${entity.isConcurrent==0 }">selected="selected"</c:if>>不并发</option>
							</select>
						</dd>
					</dl>
					<dl class="nowrap">
						<dt>描述：</dt>
						<dd><textarea name="description" cols="50" rows="4">${entity.description }</textarea></dd>
					</dl>
				</fieldset>
			</div>
		</div>
		<div class="formBar">
			<ul style="float: left;">
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>